github.com/google/go-cmp/cmp.textWrap.Prefix (field)
42 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L172: out = &textWrap{Prefix: "Inverse(" + v.TransformerName + ", ", Value: out, Suffix: ")"}
report_compare.go#L194: out = &textWrap{Prefix: "&", Value: out}
report_compare.go#L274: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_compare.go#L404: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_references.go#L99: return &textWrap{Prefix: prefix, Value: s, Metadata: trunkReference{p}}
report_references.go#L102: out := &textWrap{Prefix: "(", Value: textEllipsis, Suffix: ")"}
report_references.go#L107: return &textWrap{Prefix: prefix, Value: out, Metadata: leafReference{p}}
report_references.go#L203: trunk.Prefix = updateReferencePrefix(trunk.Prefix, formatReference(id))
report_references.go#L223: trunk.Prefix = updateReferencePrefix(trunk.Prefix, formatReference(id))
report_references.go#L235: trunk.Prefix = updateReferencePrefix(trunk.Prefix, formatReference(id0)+","+formatReference(id1))
report_references.go#L237: trunk.Prefix = updateReferencePrefix(trunk.Prefix, formatReference(id0))
report_references.go#L239: trunk.Prefix = updateReferencePrefix(trunk.Prefix, formatReference(id1))
report_references.go#L249: leaf.Prefix = updateReferencePrefix(leaf.Prefix, formatReference(id))
report_reflect.go#L80: return &textWrap{Prefix: typeName, Value: wrapParens(s)}
report_reflect.go#L99: hasParens := strings.HasPrefix(s2.Prefix, "(") && strings.HasSuffix(s2.Suffix, ")")
report_reflect.go#L100: hasBraces := strings.HasPrefix(s2.Prefix, "{") && strings.HasSuffix(s2.Suffix, "}")
report_reflect.go#L106: refNode.Value = &textWrap{Prefix: "(", Value: refNode.Value, Suffix: ")"}
report_reflect.go#L109: return &textWrap{Prefix: "(", Value: s, Suffix: ")"}
report_reflect.go#L208: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L242: out = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L245: out = &textWrap{Prefix: pointerDelimPrefix + header + pointerDelimSuffix, Value: out}
report_reflect.go#L276: out = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L288: return &textWrap{Prefix: "&", Value: out}
report_reflect.go#L300: out = &textWrap{Prefix: "&", Value: out}
report_reflect.go#L347: return &textWrap{Prefix: "(", Value: list, Suffix: ")"}
report_slices.go#L235: var out textNode = &textWrap{Prefix: "(", Value: list2, Suffix: ")"}
report_slices.go#L321: var out textNode = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_slices.go#L332: out = &textWrap{Prefix: "strings.Join(", Value: out, Suffix: fmt.Sprintf(", %q)", delim)}
report_slices.go#L337: out = &textWrap{Prefix: "bytes.Join(", Value: out, Suffix: fmt.Sprintf(", %q)", delim)}
report_text.go#L97: Prefix string // e.g., "bytes.Buffer{"
report_text.go#L104: return len(s.Prefix) + s.Value.Len() + len(s.Suffix)
report_text.go#L108: return s1.Prefix == s2.Prefix && s1.Value.Equal(s2.Value) && s1.Suffix == s2.Suffix
report_text.go#L123: b = append(b, s.Prefix...)
report_text.go#L132: b = append(b, s.Prefix...)
report_text.go#L199: return (&textWrap{Prefix: "{", Value: s, Suffix: "}"}).String()